<script>
	export default {
		onLaunch: function() {
			// console.log('App Launch')
			
			// console.log(uni.getMenuButtonBoundingClientRect());
			// #ifdef  MP-WEIXIN
			if (uni.getMenuButtonBoundingClientRect()) {
				let h = uni.getMenuButtonBoundingClientRect().top + uni.getMenuButtonBoundingClientRect().height + 5 + 'px';
				uni.setStorageSync('distanceY', h);
			}
			// #endif
			
		},
		onShow: function() {
			// console.log('App Show')
		},
		onHide: function() {
			// console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	
</style>
